﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="OrderManager.aspx.cs" Inherits="UI.Admin.OrderManager" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <div class="container body-content">
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
            <Columns>
                <asp:CommandField ShowSelectButton="True" />
                <asp:BoundField DataField="OrderId" HeaderText="OrderId" SortExpression="OrderId" />
                <asp:BoundField DataField="OrderAdjustPrice" HeaderText="OrderAdjustPrice" SortExpression="OrderAdjustPrice" />
                <asp:BoundField DataField="OrderBuyDate" HeaderText="OrderBuyDate" SortExpression="OrderBuyDate" />
                <asp:BoundField DataField="CustomerEmail" HeaderText="CustomerEmail" SortExpression="CustomerEmail" />
                <asp:BoundField DataField="CustomerName" HeaderText="CustomerName" SortExpression="CustomerName" />
                <asp:BoundField DataField="CustomerMobile" HeaderText="CustomerMobile" SortExpression="CustomerMobile" />
                <asp:BoundField DataField="CustomerClassName" HeaderText="CustomerClassName" SortExpression="CustomerClassName" />
                <asp:BoundField DataField="MovieId" HeaderText="MovieId" SortExpression="MovieId" />
                <asp:BoundField DataField="MovieName" HeaderText="MovieName" SortExpression="MovieName" />
                <asp:BoundField DataField="ScheduleBeginTime" HeaderText="ScheduleBeginTime" SortExpression="ScheduleBeginTime" />
                <asp:BoundField DataField="SchedulePrice" HeaderText="SchedulePrice" SortExpression="SchedulePrice" />
                <asp:CheckBoxField DataField="CustomerClassIsActivite" HeaderText="CustomerClassIsActivite" SortExpression="CustomerClassIsActivite" />
                <asp:BoundField DataField="CustomerClassDiscount" HeaderText="CustomerClassDiscount" SortExpression="CustomerClassDiscount" />
                <asp:BoundField DataField="SeatId" HeaderText="SeatId" SortExpression="SeatId" />
                <asp:BoundField DataField="SeatColumn" HeaderText="SeatColumn" SortExpression="SeatColumn" />
                <asp:BoundField DataField="SeatRow" HeaderText="SeatRow" SortExpression="SeatRow" />
                <asp:BoundField DataField="ScheduleId" HeaderText="ScheduleId" SortExpression="ScheduleId" />
                <asp:BoundField DataField="CustomerId" HeaderText="CustomerId" SortExpression="CustomerId" />
                <asp:BoundField DataField="CustomerClassId" HeaderText="CustomerClassId" SortExpression="CustomerClassId" />
                <asp:BoundField DataField="MovieDesription" HeaderText="MovieDesription" SortExpression="MovieDesription" />
                <asp:BoundField DataField="HallId" HeaderText="HallId" SortExpression="HallId" />
                <asp:BoundField DataField="HallDescription" HeaderText="HallDescription" SortExpression="HallDescription" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SouthWindConnectionString %>" SelectCommand="SELECT [OrderId], [OrderAdjustPrice], [OrderBuyDate], [CustomerEmail], [CustomerName], [CustomerMobile], [CustomerClassName], [MovieId], [MovieName], [ScheduleBeginTime], [SchedulePrice], [CustomerClassIsActivite], [CustomerClassDiscount], [SeatId], [SeatColumn], [SeatRow], [ScheduleId], [CustomerId], [CustomerClassId], [MovieDesription], [HallId], [HallDescription] FROM [OrderInfo]"></asp:SqlDataSource>
    </div>
    <link href="Content/CommonStyleSheet.css" rel="stylesheet" type="text/css" />
</asp:Content>
